function testobj(name)
{
	this.name = name;

	this.draw =  function(ctx)
	{
		ctx.save();                
		ctx.fillStyle = '#FFF'
		ctx.fillRect(this.position.x,this.position.y,this.size.width,this.size.height);
		ctx.restore();
	}
	
	
objectfix(this);
}

testobj.prototype = new widget;
testobj.prototype.constructor=testobj;